﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace API
{
    public interface IDataStream
    {
        int Read(long from, byte[] to, int offset, int size);
        void Close();
        long GetLength();
        long GetAvailableLength();
    }

    public interface ICacheDataStreamManager
    {
        IDataStream CreateDataStream(string strInfo);
    }
}